package com.huc.mapper;

import com.huc.config.aspect.DataSource;
import com.huc.entity.UserDO;
import com.huc.query.UserQuery;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    @DataSource("userId")
    UserDO getUserByName(UserQuery query);

    @DataSource("userId")
    void insert(UserDO userDO);
}
